//package guoanmaker.operator.business.model;
//
//import javax.persistence.CascadeType;
//import javax.persistence.Entity;
//import javax.persistence.JoinColumn;
//import javax.persistence.ManyToOne;
//import javax.persistence.Table;
//
//import guoanmaker.operator.helper.common.abstractobj.IdEntity;
//import lombok.AllArgsConstructor;
//import lombok.Getter;
//import lombok.NoArgsConstructor;
//import lombok.Setter;
//
///*
// * 2017-12-15 zhouyu
// * 金融项目融资经历
// */
//@Getter
//@Setter
//@AllArgsConstructor
//@NoArgsConstructor
//@Entity
//@Table(name="t_personal_fpfinancing_experience")
//public class PersonalFinancingExperience extends IdEntity{
//
//	private String financingYear;//融资年份
//	private String financingAmount;//融资金额
//	private String investorName;//投资人姓名
//	private String roundFinancing;//投资人姓名
//	
//	@ManyToOne(cascade=CascadeType.REFRESH,optional=false)
//	@JoinColumn(name = "finance_project_id")
//	private PersonalFinanceProject personalFinanceProject;
//}
package guoanmaker.operator.business.model;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/*
 * 2017-12-15 zhouyu
 * 金融项目融资经历
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="t_personal_fpfinancing_experience")
public class PersonalFinancingExperience extends IdEntity implements Cloneable{

	private String financingYear;//融资年份
	private String financingAmount;//融资金额
	private String investorName;//投资人姓名
	private String roundFinancing;//融资所在阶段
	
	/*@ManyToOne(fetch=FetchType.EAGER,optional=true)
	@JoinColumn(name="finance_project_id")
	private PersonalFinanceProject personalFinanceProject;*/
	public Object clone() {
		// TODO Auto-generated method stub
		PersonalFinancingExperience stu = null;  
		try{  
			stu = (PersonalFinancingExperience)super.clone();  
		}catch(CloneNotSupportedException e) {  
			e.printStackTrace();  
		}  
		return stu; 
	}
}
